package com.mvc.app.exceptions;

import java.lang.annotation.Annotation;

/**
 * Created with IntelliJ IDEA.
 * User: Georgiana.Scarlat
 * Date: 8/28/12
 * Time: 3:11 PM
 */
public abstract class InvalidRequestException extends RuntimeException {

    public InvalidRequestException(String message) {
        super(message);
    }

    public InvalidRequestException(String message, Throwable cause) {
        super(message, cause);
    }

    public abstract Class<? extends Annotation> getExpectedAnnotationClass();


}
